package univer.oko.gui;

import univer.oko.utilities.CDUtilities;

import javax.swing.*;
import java.awt.*;

public class CDLabel extends JLabel {
    public CDLabel(String str) {
        super(str);
        this.setFont(CDUtilities.SYSTEM_FONT.deriveFont(Font.BOLD));
    }

    public CDLabel(String str, int ixSize, int iySize, int ixLocation, int iyLocation) {
        super(str);
        this.setFont(CDUtilities.SYSTEM_FONT.deriveFont(Font.BOLD));
        this.setSize(ixSize, iySize);
        this.setLocation(ixLocation, iyLocation);
    }
}
